<!--{template admin/header}-->

<form method="post" enctype="multipart/form-data" action="manage.php?m=hostel_room&a={$action}">
	<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
		<tr class="header">
			<td colspan="2">{$action_name}</td>
		</tr>
		<tr>
			<td bgcolor="#F8F8F8">酒店名称:</td>
			<td align="right" bgcolor="#FFFFFF">
		  		{$info[hostel_name]}
		  	</td>
		</tr>
		<tr>
			<td bgcolor="#F8F8F8">房间类型:&nbsp;<span style="color:red;">*</span></td>
			<td align="right" bgcolor="#FFFFFF">
		  		<input size="40" type="text" name="name" id="name" value="{$info[name]}" maxlength="100">
		  	</td>
		</tr>
		<tr>
			<td bgcolor="#F8F8F8">价格:</td>
			<td align="right" bgcolor="#FFFFFF">
		  		<input size="10" type="text" name="price" value="{$info[price]}" maxlength="10"> 元
		  	</td>
		</tr>
		<tr>
			<td bgcolor="#F8F8F8">面积:</td>
			<td align="right" bgcolor="#FFFFFF">
		  		<input size="10" type="text" name="area" value="{$info[area]}" maxlength="10"> 平方
		  	</td>
		</tr>
		<tr>
			<td width="10%" bgcolor="#F8F8F8">图片:<br />
			JPG/JPEG/GIF/PNG（小于<span style="color:red;">2M</span>）
			</td>
			<td width="90%" align="right" bgcolor="#FFFFFF">
				<!-- {if $info[image]} -->
				<a href="{$info[image]}" target="_blank"><img width="120" height="120" src="{$info[image]}"></a><br />
				<!-- {/if} -->
				<input type="file" id="normalUploadFile" name="image" />
		  	</td>
		</tr>
	</table>
	<br />
	<center><input type="submit" class="button" name="addsubmit" value="提 交"></center>
</form>

<script type="text/javascript" src="templates/default/js/travel_info.js"></script>
